gsk: Some g-i annotation fixes
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 25 Sep 2017 09:15:14 +0000 (11:15 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 25 Sep 2017 09:15:14 +0000 (11:15 +0200)
gsk/gskrendernodeimpl.c
gsk/gsktexture.c

index 3dcd1cb521683069cada5ee2f9a7779ce933ab80..bda975de1821f6ef7f5661b6c4a517023377d48f 100644 (file)
@@ -306,7 +306,7 @@ static const GskRenderNodeClass GSK_REPEATING_LINEAR_GRADIENT_NODE_CLASS = {
  * @bounds: the rectangle to render the linear gradient into
  * @start: the point at which the linear gradient will begin
  * @end: the point at which the linear gradient will finish
- * @color_stops: a pointer to an array of #GskColorStop defining the gradient
+ * @color_stops: (array length=n_color_stops): a pointer to an array of #GskColorStop defining the gradient
  * @n_color_stops: the number of elements in @color_stops
  *
  * Creates a #GskRenderNode that will create a linear gradient from the given
@@ -353,7 +353,7 @@ gsk_linear_gradient_node_new (const graphene_rect_t  *bounds,
  * @bounds: the rectangle to render the linear gradient into
  * @start: the point at which the linear gradient will begin
  * @end: the point at which the linear gradient will finish
- * @color_stops: a pointer to an array of #GskColorStop defining the gradient
+ * @color_stops: (array length=n_color_stops): a pointer to an array of #GskColorStop defining the gradient
  * @n_color_stops: the number of elements in @color_stops
  *
  * Creates a #GskRenderNode that will create a repeating linear gradient
index 03691ff38867c736b02f0a915daf07a9a18cb877..e7f66708727383cc36a52f1ec71921777aca87d0 100644 (file)
@@ -281,7 +281,7 @@ gsk_cairo_texture_init (GskCairoTexture *self)
 
 /**
  * gsk_texture_new_for_data:
- * @data: the pixel data
+ * @data: (array): the pixel data
  * @width: the number of pixels in each row
  * @height: the number of rows
  * @stride: the distance from the beginning of one row to the next, in bytes